/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.sales;

import java.util.List;
import java.util.Map;
import model.sales.SalesInit;
import net.sf.jasperreports.engine.JasperPrint;
import utility.NameValueList;

/**
 *
 * @author jay
 */
public interface SalesInitService {
    
    boolean save(SalesInit data);
    boolean delete(SalesInit data);
    
    SalesInit get(long id);
    SalesInit get(Map<NameValueList, Object> params);
    SalesInit getCurrentInit(String pc, int shift);
    SalesInit getNextShift(String pc);
        
    List<SalesInit> getAll(Map<NameValueList, Object> params);
    List<SalesInit> getAll(int start, int num, Map<NameValueList, Object> params);
    JasperPrint printData(long autoId, long id);
    
}
